package com.jiyun.entity.day02;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/*
 * 作者：LiuHaoyang
 * 时间：2023/8/5 16:51
 * 描述：
 **/
@Data
@ToString
@TableName("catalog")
public class Catalog implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String cname;
    private Integer pid;
    private String px;
    private Integer lessonnId;
    private Integer status;


    @TableField(exist = false)
    private Integer Level;

    @TableField(exist = false)
    private List<Catalog> children;



}
